# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvs/zport/sci-libs/cvcl/cvcl-2.5.1.ebuild,v 1.1 2007/06/28 00:07:40 zechs Exp $

inherit eutils

MY_PV="20060527"
DESCRIPTION="CVC Lite"
HOMEPAGE="http://www.cs.nyu.edu/acsys/cvcl/"
SRC_URI="http://www.cs.nyu.edu/acsys/cvcl/download/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86 sparc"

DEPEND="dev-libs/gmp
virtual/libc"

S=${WORKDIR}/${PN}-${MY_PV}

src_unpack() {
	unpack ${A}
	cd ${S}
}

src_compile() {
	myconf="--prefix=/usr --with-build=optimized --with-arith=gmp"

	./configure ${myconf}
	make || die
}

src_install() {
	myconf="prefix=${D}usr"

	make ${myconf} install
}
